
from django.test import TestCase
from models import Article


class TestCaseFixtureLoadingTests(TestCase):
    fixtures = ['fixture1.json', 'fixture2.json']
    
    def testClassFixtures(self):
        "Check that test case has installed 4 fixture objexts"
        self.assertEqual(Article.objects.count(), 4)
